﻿<%@ Page Title="Phân hệ khách hàng" Language="C#" MasterPageFile="~/Page/MainSystem.Master" AutoEventWireup="true" CodeBehind="Customer.aspx.cs" Inherits="ERP.Page.Customer" %>
<asp:Content ID="Chead" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="CphMainLeft" ContentPlaceHolderID="CphMainLeft" runat="server">
<ext:Panel ID="PanelKhachHang" runat="server" Title="Khách hàng" Border="false" BodyPadding="6" Icon="Folder" AutoScroll="True">
    <Content>
        <ext:LinkButton ID="ShowTabDanhXung" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Danh xưng" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabDanhXung});#{TabPanel1}.setActiveTab(#{TabDanhXung});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="ShowTabKhachHang" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Khách hàng" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabKhachHang});#{TabPanel1}.setActiveTab(#{TabKhachHang});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="ShowTabLoaiKhachHang" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Loại khách hàng" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabLoaiKhachHang});#{TabPanel1}.setActiveTab(#{TabLoaiKhachHang});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="ShowTabMucDich" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Mục đích" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabMucDich});#{TabPanel1}.setActiveTab(#{TabMucDich});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="ShowTabNguoiLienHe" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Người liên hệ" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabNguoiLienHe});#{TabPanel1}.setActiveTab(#{TabNguoiLienHe});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="ShowTabNganhNghe" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Ngành nghề" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabNganhNghe});#{TabPanel1}.setActiveTab(#{TabNganhNghe});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="ShowTabPhuongThuc" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Phương thức" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabPhuongThuc});#{TabPanel1}.setActiveTab(#{TabPhuongThuc});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="ShowTabGiaoDich" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Giao dịch" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabGiaoDich});#{TabPanel1}.setActiveTab(#{TabGiaoDich});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="ShowTabBaoGia" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Báo giá" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabBaoGia});#{TabPanel1}.setActiveTab(#{TabBaoGia});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="ShowTabBaoHanh" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Lập phiếu bảo hành" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabBaoHanh});#{TabPanel1}.setActiveTab(#{TabBaoHanh});" />
            </Listeners>
        </ext:LinkButton>
    </Content>
</ext:Panel>
</asp:Content>
<asp:Content ID="CphMainCenter" ContentPlaceHolderID="CphMainCenter" runat="server">
<ext:TabPanel ID="TabPanel1" runat="server" AutoFocus="true">
    <Bin>
        <ext:Panel ID="TabDanhXung" Title="Danh xưng" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader15" runat="server" Path="../Modules/Vocative.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabKhachHang" Title="Khách hàng" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader16" runat="server" Path="../Modules/Customer.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabLoaiKhachHang" Title="Loại khách hàng" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader17" runat="server" Path="../Modules/Customer_Type.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabMucDich" Title="Mục đích" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader18" runat="server" Path="../Modules/Destination.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabNguoiLienHe" Title="Người liên hệ" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader19" runat="server" Path="../Modules/Contact.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabNganhNghe" Title="Ngành nghề" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader20" runat="server" Path="../Modules/Sector.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabPhuongThuc" Title="Phương thức" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader21" runat="server" Path="../Modules/Method.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabGiaoDich" Title="Giao dịch" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader22" runat="server" Path="../Modules/Transaction.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <%--<Bin>
        <ext:Panel ID="TabBaoGia" Title="Báo giá" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderQuotes" runat="server" Path="../Modules/Quotes.ascx" />
            </Items>
        </ext:Panel>
    </Bin>--%>
    <Bin>
        <ext:Panel ID="TabBaoHanh" Title="Lập phiếu bảo hành" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderServicesMaintain" runat="server" Path="../Modules/ServicesMaintain.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <%--Từ điển kho--%>
    <Bin>
        <ext:Panel ID="TabChiNhanh" Title="Chi nhánh" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader1" runat="server" Path="../Modules/Branch.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabPhongChua" Title="Phòng chứa" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader2" runat="server" Path="../Modules/Room.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabKho" Title="Kho" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader3" runat="server" Path="../Modules/Warehouse.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabDVTManufacturer" Title="Hãng sản xuất" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderManufacturer" runat="server" Path="../Modules/Manufacturer.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabDVT" Title="Đơn vị tính" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader4" runat="server" Path="../Modules/Unit.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabNhomVatTu" Title="Nhóm vật tư" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader5" runat="server" Path="../Modules/Materials_Type.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabVatTu" Title="Vật tư" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader6" runat="server" Path="../Modules/Materials.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabBarCode" Title="Quản lý mã vạch" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderBarCode" runat="server" Path="../Modules/Barcode.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <%--End--%>

    <%--Danh mục chung--%>
    <Bin>
        <ext:Panel ID="TabLoaiDoanhNghiep" Title="Loại doanh nghiệp" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader7" runat="server" Path="../Modules/Enterprise.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabNganHang" Title="Ngân hàng" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader8" runat="server" Path="../Modules/Bank.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabDanToc" Title="Dân tộc" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader9" runat="server" Path="../Modules/Ethnic.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabTienTe" Title="Tiền tệ" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader10" runat="server" Path="../Modules/Currency.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabQuocGia" Title="Quốc gia" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader11" runat="server" Path="../Modules/National.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabMien" Title="Miền" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader12" runat="server" Path="../Modules/Domain.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabTinh" Title="Tỉnh" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader13" runat="server" Path="../Modules/Province.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabQuanHuyen" Title="Quận huyện" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader14" runat="server" Path="../Modules/Districts.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <%--End--%>
    <Plugins>
        <ext:BoxReorderer ID="BoxReorderer1" runat="server" />
    </Plugins>
    <BottomBar>
        <ext:Toolbar ID="Toolbar1" runat="server" Height="30px">
            <Items>
                <ext:Label ID="Label1" Cls="lablecontrol" Text="Tên đăng nhập :" runat="server"></ext:Label>
                <ext:Label ID="lbServerNameTitile" Cls="labletitile" Text="IMS" runat="server"></ext:Label>
                <ext:Label ID="Label2" Cls="lablecontrol" Text="Tên máy :" runat="server"></ext:Label>
                <ext:Label ID="lbMachineName" Cls="labletitile" Text="TenMay" runat="server"></ext:Label>
                <ext:Label ID="Label3" Cls="lablecontrol" Text="IP :" runat="server"></ext:Label>
                <ext:Label ID="lbIdAdress" Cls="labletitile" Text="IdAddress" runat="server"></ext:Label>
                <ext:Label ID="Label4" Cls="lablecontrol" Text="Session :" runat="server"></ext:Label>
                <ext:Label ID="lbSessionStatus" Cls="labletitile" Text="IdAddress" runat="server"></ext:Label>
            </Items>
        </ext:Toolbar>
    </BottomBar>
</ext:TabPanel>
</asp:Content>